[INFO] cloning repository https://github.com/MathiasKoch/rust-fatfs-issue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathiasKoch/rust-fatfs-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3f03f807e7e1bf0ab0719db6eb5bb39731b649c
[INFO] checking MathiasKoch/rust-fatfs-issue against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MathiasKoch/rust-fatfs-issue on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/MathiasKoch/rust-fatfs-issue
[INFO] finished tweaking git repo https://github.com/MathiasKoch/rust-fatfs-issue
[INFO] tweaked toml for git repo https://github.com/MathiasKoch/rust-fatfs-issue written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/MathiasKoch/rust-fatfs-issue already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/rafalh/rust-fatfs`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded embedded-storage v0.2.0
[INFO] [stderr]   Downloaded libc-print v0.1.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb44d0dc25b808fb41854fe5255df5bb3f53b03472f038e48d646328e8f2f4da
[INFO] running `Command { std: "docker" "start" "-a" "fb44d0dc25b808fb41854fe5255df5bb3f53b03472f038e48d646328e8f2f4da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb44d0dc25b808fb41854fe5255df5bb3f53b03472f038e48d646328e8f2f4da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb44d0dc25b808fb41854fe5255df5bb3f53b03472f038e48d646328e8f2f4da", kill_on_drop: false }`
[INFO] [stdout] fb44d0dc25b808fb41854fe5255df5bb3f53b03472f038e48d646328e8f2f4da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c4854996607f48aa0fb64c757b842cc37af258fe89f5006a10bea2856f5b7e7
[INFO] running `Command { std: "docker" "start" "-a" "0c4854996607f48aa0fb64c757b842cc37af258fe89f5006a10bea2856f5b7e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking embedded-storage v0.2.0
[INFO] [stderr]     Checking fatfs v0.4.0 (https://github.com/rafalh/rust-fatfs#48d428db)
[INFO] [stderr]     Checking log v0.4.14
[INFO] [stderr]     Checking libc-print v0.1.17
[INFO] [stderr]     Checking fatfs-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `libc_print`
[INFO] [stdout]   --> src/main.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use libc_print::{libc_print, libc_println};
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `info`, `trace`
[INFO] [stdout]   --> src/main.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::{debug, error, info, trace, LevelFilter};
[INFO] [stdout]    |           ^^^^^         ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::flash::MEMORY_SIZE`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::flash::MEMORY_SIZE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc_print`
[INFO] [stdout]   --> src/main.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use libc_print::{libc_print, libc_println};
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `info`, `trace`
[INFO] [stdout]   --> src/main.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::{debug, error, info, trace, LevelFilter};
[INFO] [stdout]    |           ^^^^^         ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::flash::MEMORY_SIZE`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::flash::MEMORY_SIZE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:166:1
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/9610dfe5a9a731ced1ea4923ecbd0c57fe367898/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a9ba95b1228749.rlib
[INFO] [stdout]     = note: second definition in the local crate (`fatfs_test`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fatfs-test` (bin "fatfs-test" test) due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]    --> src/main.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn enabled(&self, metadata: &Metadata<'_>) -> bool {
[INFO] [stdout]     |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut fs = FileSystem::new(fat_io, FsOptions::new()).unwrap();
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGES_PER_BLOCK` is never used
[INFO] [stdout]   --> src/flash.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const PAGES_PER_BLOCK: u32 = PAGES_PER_SECTOR * SECTORS_PER_BLOCK;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGES_PER_HALFBLOCK` is never used
[INFO] [stdout]   --> src/flash.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const PAGES_PER_HALFBLOCK: u32 = PAGES_PER_SECTOR * HALFBLOCKS_PER_BLOCK;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUMBER_OF_PAGES` is never used
[INFO] [stdout]   --> src/flash.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const NUMBER_OF_PAGES: u32 = NUMBER_OF_SECTORS * PAGES_PER_SECTOR;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `pages` and `size` are never used
[INFO] [stdout]   --> src/flash.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl MemoryMap {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn pages() -> impl Iterator<Item = Page> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub const fn size() -> usize {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `sectors`, `halfblocks`, `pages`, and `end` are never used
[INFO] [stdout]   --> src/flash.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Block {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 56 |     pub fn sectors(&self) -> impl Iterator<Item = Sector> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn halfblocks(&self) -> impl Iterator<Item = HalfBlock> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn pages(&self) -> impl Iterator<Item = Page> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn end(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `sectors`, `pages`, and `end` are never used
[INFO] [stdout]   --> src/flash.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl HalfBlock {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 80 |     pub fn sectors(&self) -> impl Iterator<Item = Sector> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn pages(&self) -> impl Iterator<Item = Page> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn end(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pages` and `end` are never used
[INFO] [stdout]    --> src/flash.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Sector {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] 101 |     pub fn pages(&self) -> impl Iterator<Item = Page> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn end(&self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `start`, `end`, `at`, and `size` are never used
[INFO] [stdout]    --> src/flash.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | impl Page {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 119 |     pub fn start(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn end(&self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn at(address: u32) -> Option<Self> {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub const fn size() -> usize {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0c4854996607f48aa0fb64c757b842cc37af258fe89f5006a10bea2856f5b7e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c4854996607f48aa0fb64c757b842cc37af258fe89f5006a10bea2856f5b7e7", kill_on_drop: false }`
[INFO] [stdout] 0c4854996607f48aa0fb64c757b842cc37af258fe89f5006a10bea2856f5b7e7
